package com.example.service;

import com.alibaba.fastjson.JSONObject;
import com.example.entity.Event;
import com.example.entity.EventAndKE;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 *
 */
@Service
public interface EventService {
    public List<Event> selectAll();

    Event selectOne(Long id);

    JSONObject insert(Event e);


    JSONObject update(Event e);


    JSONObject deleteById(Event e);
}
